package com.qdxwx.models.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

public class UserVitaeQuery implements Serializable {

    private static final long serialVersionUID = 5718214585054545221L;

    //userId
    private long userId;

    //名称
    private String name;

    //性别 0:未知，1:男，2:女
    private Integer sex;

    //民族
    private String nation;

    //籍贯
    private String nativePlace;

    //联系电话
    private String contactMobile;

    //联系邮箱
    private String contactEmail;

    //期望职位
    private String jobPosition;

    //求职类型 1全职；2兼职
    private Integer jobType;

    //求职省份id
    private int jobProvinceId;

    //求职城市id
    private int jobCityId;

    //期望薪资
    private int jobSalary;

    //学历
    private String education;

    //专业
    private String major;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    public int getJobProvinceId() {
        return jobProvinceId;
    }

    public void setJobProvinceId(int jobProvinceId) {
        this.jobProvinceId = jobProvinceId;
    }

    public int getJobCityId() {
        return jobCityId;
    }

    public void setJobCityId(int jobCityId) {
        this.jobCityId = jobCityId;
    }

    public int getJobSalary() {
        return jobSalary;
    }

    public void setJobSalary(int jobSalary) {
        this.jobSalary = jobSalary;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "UserVitaeQuery{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", nation='" + nation + '\'' +
                ", nativePlace='" + nativePlace + '\'' +
                ", contactMobile='" + contactMobile + '\'' +
                ", contactEmail='" + contactEmail + '\'' +
                ", jobPosition='" + jobPosition + '\'' +
                ", jobType=" + jobType +
                ", provinceId=" + jobProvinceId +
                ", jobCityId=" + jobCityId +
                ", jobSalary=" + jobSalary +
                ", education='" + education + '\'' +
                ", major='" + major + '\'' +
                '}';
    }
}
